﻿Pagina @(Model.PageCount < Model.PageNumber ? 0 : Model.PageNumber)
de @Model.PageCount
&nbsp;
    @{
        string Index = @ViewBag.SectionIndex;
    }


@if (Model.HasPreviousPage)
    {
    @Html.ActionLink("<<", Index, new { page = 1 })
    @Html.Raw("&nbsp;");
    @Html.ActionLink("< Anterior", Index, new { page = Model.PageNumber - 1 })
    }
    else
    {
    @:<<
    @Html.Raw("&nbsp;");
    @:< Anterior
    }
&nbsp;
    @if (Model.HasNextPage)
    {
        @Html.ActionLink("Seguinte >", Index, new { page = Model.PageNumber + 1 })
        @Html.Raw("&nbsp;");
        @Html.ActionLink(">>", Index, new { page = Model.PageCount })
    }
    else
    {
        @:Seguinte >
        @Html.Raw("&nbsp;")
        @:>>
    }